<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/context/mytags.jsp"%>
<!DOCTYPE html>
<html>
 <head>
  <title>用户基本信息</title>
  <t:base type="jquery,easyui,tools,DatePicker"></t:base>
    <script type="text/javascript" src="plug-in/ckeditor_new/ckeditor.js"></script>
  <script type="text/javascript" src="plug-in/ckfinder/ckfinder.js"></script>
  <script type="text/javascript">
  $(document).ready(function(){
	$('#tt').tabs({
	   onSelect:function(title){
	       $('#tt .panel-body').css('width','auto');
		}
	});
	$(".tabs-wrap").css('width','100%');
  });
 </script>
 </head>
 <body style="overflow-x: hidden;">
  <t:formvalid formid="formobj" dialog="true" usePlugin="password" layout="table" tiptype="1" action="orderInfoController.do?doAdd">
					<input id="id" name="id" type="hidden" value="${orderInfoPage.id }">
					<input id="userId" name="userId" type="hidden" value="${orderInfoPage.userId }">
					<input id="companyId" name="companyId" type="hidden" value="${orderInfoPage.companyId }">
	<table cellpadding="0" cellspacing="1" class="formtable">
		<tr>
			<td align="right">
				<label class="Validform_label">姓名:</label>
			</td>
			<td class="value">
		     	 <input id="userName" name="userName" type="text"  datatype="*" errormsg="该字段不为空" style="width: 150px" class="inputxt">
				<span class="Validform_checktip"></span>
				<label class="Validform_label" style="display: none;">姓名</label>
			</td>
			
			<td align="right">
				<label class="Validform_label">地址:</label>
			</td>
			<td class="value">
		     	 <input id="userAddress" name="userAddress" type="text" style="width: 150px" class="inputxt"  datatype="*" errormsg="该字段不为空" >
				<span class="Validform_checktip"></span>
				<label class="Validform_label" style="display: none;">地址</label>
			</td>
		</tr>
		<tr>
			<td align="right">
				<label class="Validform_label">联系电话一:</label>
			</td>
			<td class="value">
<<<<<<< HEAD
		     	 <input id="userTelephone1" name="userTelephone1" type="text" style="width: 150px" class="inputxt" datatype="*" errormsg="该字段不为空" >
=======
		     	 <input id="userTelephone1" name="userTelephone1" type="text" style="width: 150px" class="inputxt" datatype="m"  errormsg="输入非法" >
>>>>>>> a9c7731b4788b28c37d962faa7843e2cac438e61
				<span class="Validform_checktip"></span>
				<label class="Validform_label" style="display: none;">联系电话一</label>
			</td>
			<td align="right">
				<label class="Validform_label">联系电话二:</label>
			</td>
			<td class="value">
		     	 <input id="userTelephone2" name="userTelephone2" type="text" style="width: 150px" class="inputxt">
				<span class="Validform_checktip"></span>
				<label class="Validform_label" style="display: none;">联系电话二</label>
			</td>
		</tr>
		<tr>
			<td align="right">
				<label class="Validform_label">联系电话三:</label>
			</td>
			<td class="value">
		     	 <input id="userTelephone3" name="userTelephone3" type="text" style="width: 150px" class="inputxt">
				<span class="Validform_checktip"></span>
				<label class="Validform_label" style="display: none;">联系电话三</label>
			</td>
			<td align="right">
				<label class="Validform_label">是通用订单:</label>
			</td>
			<td class="value"><t:dictSelect field="isCommon" typeGroupCode="orderyesno" hasLabel="false" defaultVal="true"></t:dictSelect></td>
			
		</tr>
		
		<tr>
			<td align="right">
				<label class="Validform_label">总金额:</label>
			</td>
			<td class="value">
<<<<<<< HEAD
		     	 <input id="totalPrice" name="totalPrice" type="text"  datatype="*" errormsg="该字段不为空" style="width: 150px" class="inputxt">
=======
		     	 <input id="totalPrice" name="totalPrice" type="text"  datatype="d" errormsg="输入非法" style="width: 150px" class="inputxt">
>>>>>>> a9c7731b4788b28c37d962faa7843e2cac438e61
				<span class="Validform_checktip"></span>
				<label class="Validform_label" style="display: none;">总金额</label>
			</td>
			
			<td align="right">
				<label class="Validform_label">订金:</label>
			</td>
			<td class="value">
<<<<<<< HEAD
		     	 <input id="downPayment" name="downPayment" type="text" style="width: 150px" class="inputxt"  datatype="*" errormsg="该字段不为空" >
=======
		     	 <input id="downPayment" name="downPayment" type="text" style="width: 150px" class="inputxt"  datatype="d" errormsg="输入非法" >
>>>>>>> a9c7731b4788b28c37d962faa7843e2cac438e61
				<span class="Validform_checktip"></span>
				<label class="Validform_label" style="display: none;">订金</label>
			</td>
		</tr>
		
		<tr>
			
			<td align="right">
				<label class="Validform_label">备注:</label>
			</td>
			<td class="value"  colspan="3">
		     	 <input id="remark" name="remark" type="text" style="width: 540px;height:75px"  class="inputxt" >
				<span class="Validform_checktip"></span>
				<label class="Validform_label" style="display: none;">备注</label>
			</td>
			
			
			
			</tr>

	</table>
					<div style="width: auto; height: 400px;">
				<%-- 增加一个div，用于调节页面大小，否则默认太小 --%>
				<div style="width: 1000px; height: 1px;"></div>
				<t:tabs id="tt" iframe="false" tabPosition="top" fit="false">
				 <t:tab href="orderInfoController.do?orderProductList&id=${orderInfoPage.id}" icon="icon-search" title="产品信息" id="orderProduct"></t:tab>
				</t:tabs>
			</div>
			</t:formvalid>
			<!-- 添加 附表明细 模版 -->
	<table style="display:none">
	<tbody id="add_orderProduct_table_template">
		<tr>
			 <td align="center"><div style="width: 25px;" name="xh"></div></td>
			 <td align="center"><input style="width:20px;" type="checkbox" name="ck"/></td>
				  <td align="left">
					  	<input name="orderProductList[#index#].orderType" maxlength="45" 
					  		type="text" class="inputxt"  style="width:120px;"
					               
					               >
					  <label class="Validform_label" style="display: none;">订单类型</label>
				  </td>
			</tr>
		 </tbody>
		</table>
 </body>
 <script src = "webpage/org/jeecgframework/web/material/xdkj/orderInfo.js"></script>	